package com.xzw.test.springcloud.alibaba.service;

import com.xzw.test.springcloud.alibaba.api.EmailCodeService;
import org.apache.dubbo.config.annotation.DubboService;
import org.apache.dubbo.config.annotation.Service;

@Service(version = "1.0.0")
//@DubboService
public class EmailCodeServiceImpl implements EmailCodeService {

    @Override
    public Boolean email(String email, String code) {
        System.out.println("发送邮件");
        return true;
    }
}
